package com.enhe.gck.pojo;
 import java.util.Date;
 import java.lang.String;
 import java.lang.Integer;
 import java.math.BigDecimal;
 import java.lang.Long;
 import java.lang.Float;
 import java.lang.Double;
 import java.lang.Boolean;
 import com.kuangkie.carbon.record.Updatable;
 import com.kuangkie.carbon.record.annotation.Attribute;
 import com.kuangkie.carbon.record.annotation.CarbonRecord;
 import com.kuangkie.carbon.record.annotation.RecordCode;
 import com.alibaba.fastjson.annotation.JSONField;
 import java.time.LocalDate;
 import java.time.LocalDateTime;
 import java.time.LocalTime;

 import com.kuangkie.carbon.record.annotation.Relation;
 import com.kuangkie.carbon.uid.model.UidManager;
 import lombok.Data;

 import static com.enhe.gck.CarbonRelationType.*;

// 余额消除
@CarbonRecord("hwane25759")
@Data
public class MoneyXiaoXiaoLe implements Updatable{
    @JSONField(name="唯一编码")
    @RecordCode
    private Long id = UidManager.getLongUID();

    // 余额
    @JSONField(name="余额")
    @Attribute("hwan25761")
    private BigDecimal money;

    @JSONField(name = "命令")
    @Attribute("hwan25767")
    private String command;

    @JSONField(name="消除余额")
    @Attribute("hwan25769")
    private BigDecimal moneyXc;


    @Relation(RR_余额消除_客户_客户管理)
    private Customer customer;
    @Relation(RR_余额消除_产品_产品管理)
    private Goods goods;
    @Override
    public String getRecordCode() {
        return this.id==null ? null : this.id.toString();
    }
}